package com.jumi.microservice.dto.order;

import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Dirk
 * @Date 2020-09-16 09:41
 */
public class CreateOrderResponse extends BaseResponse {
    private static final long serialVersionUID = -1997657523055033L;

    @ApiModelProperty("支付单号")
    private String payNo = "";

    @ApiModelProperty("订单团购价+运费")
    private BigDecimal amount = BigDecimal.ZERO;

    @ApiModelProperty("订单支付金额")
    private BigDecimal payAmount = BigDecimal.ZERO;

    @ApiModelProperty("订单创建时间")
    private Date createTime;

    @ApiModelProperty("支付剩余秒数")
    private Long remainSeconds;
    @ApiModelProperty("是否是付邮领")
    private byte freeGoods;

    public byte getFreeGoods() {
        return freeGoods;
    }

    public void setFreeGoods(byte freeGoods) {
        this.freeGoods = freeGoods;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getRemainSeconds() {
        return remainSeconds;
    }

    public void setRemainSeconds(Long remainSeconds) {
        this.remainSeconds = remainSeconds;
    }
}
